package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.SgsPrivAddRequest;
import com.sgzn.sgpay.model.request.SgsPrivDeleteRequest;
import com.sgzn.sgpay.model.request.SgsPrivUpdateRequest;
import com.sgzn.sgpay.model.response.SgsResultResponse;

/**
 * 权限管理服务
 * @author zhongzhongyong
 * @version Id: SgsPrivilegeManageService.java, v 0.1 2018/5/1 13:00 zhongzhongyong Exp $$
 */
public interface SgsPrivilegeManageService {

    /**
     * 添加权限
     */
    SgsResultResponse<String> add(SgsPrivAddRequest request);

    /**
     * 更新权限
     */
    SgsResultResponse<String> update(SgsPrivUpdateRequest request);

    /**
     * 删除权限
     */
    SgsResultResponse<String> delete(SgsPrivDeleteRequest request);

}
